package com.nbot.server.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.nbot.server.mapper.fourth.PlanInjectWaterMapper;
import com.nbot.server.domain.PlanInjectWaterDO;
import com.nbot.server.service.PlanInjectWaterService;



@Service
public class PlanInjectWaterServiceImpl implements PlanInjectWaterService {
	@Autowired
	private PlanInjectWaterMapper planInjectWaterMapper;
	
	@Override
	public PlanInjectWaterDO get(String wellName){
		return planInjectWaterMapper.get(wellName);
	}
	
	@Override
	public List<PlanInjectWaterDO> list(Map<String, Object> map){
		return planInjectWaterMapper.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return planInjectWaterMapper.count(map);
	}
	
	@Override
	public int save(PlanInjectWaterDO planInjectWater){
		return planInjectWaterMapper.save(planInjectWater);
	}
	
	@Override
	public int update(PlanInjectWaterDO planInjectWater){
		return planInjectWaterMapper.update(planInjectWater);
	}
	
	@Override
	public int remove(String wellName){
		return planInjectWaterMapper.remove(wellName);
	}
	
	@Override
	public int batchRemove(String[] wellNames){
		return planInjectWaterMapper.batchRemove(wellNames);
	}
	
}
